package com.university.mentalhealthplatform.studentV3.repository;


import com.university.mentalhealthplatform.appModels.Detail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DetailRepositoryV3 extends JpaRepository<Detail, String> {
    Detail findByType(String type); // 根据类型查找 Details
}

